package com.ruoyi.mall.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.mall.entity.MallMembers;
import com.ruoyi.mall.front.vo.MallMembersVo;

/**
 * mallService接口
 * 
 * @author ruoyi
 * @date 2020-05-14
 */
public interface IMallMembersService 
{
    /**
     * 查询mall
     * 
     * @param membersId mallID
     * @return mall
     */
    public MallMembers selectMallMembersById(Long membersId);

    /**
     * 查询mall列表
     * 
     * @param mallMembers mall
     * @return mall集合
     */
    public List<MallMembers> selectMallMembersList(MallMembers mallMembers);

    /**
     * 新增mall
     * 
     * @param mallMembers mall
     * @return 结果
     */
    public int insertMallMembers(MallMembers mallMembers);

    /**
     * 修改mall
     * 
     * @param mallMembers mall
     * @return 结果
     */
    public int updateMallMembers(MallMembers mallMembers);

    /**
     * 批量删除mall
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMallMembersByIds(String ids);

    /**
     * 删除mall信息
     * 
     * @param membersId mallID
     * @return 结果
     */
    public int deleteMallMembersById(Long membersId);

    AjaxResult editMember(MallMembersVo membersVo);
}
